package com.cgwx.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.sql.Timestamp;

@Data
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("fs_user_room")
@ApiModel(value="UserRoom", description="")
public class UserRoom implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String account;

    private String name;

    private String entityRoom;

    private String deptId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp createTime;

    private String column;

    private String sort;

    @Override
    public String toString() {
        return "UserRoom{" +
                "id='" + id + '\'' +
                ", account='" + account + '\'' +
                ", name='" + name + '\'' +
                ", entityRoom='" + entityRoom + '\'' +
                ", deptId='" + deptId + '\'' +
                ", createTime=" + createTime +
                ", column='" + column + '\'' +
                ", sort='" + sort + '\'' +
                '}';
    }
}

